<?php
/**
 * Created by PhpStorm.
 * User: guokunsheng
 * Date: 2023/10/11
 * Time: 上午10:58
 */

namespace app\zyhsweb\controller;

use think\Controller;
use think\Env;

/**
 * Class LogoutAccount
 * @package app\zyhsweb\controller
 */
class LogoutAccount extends Controller
{
    /**
     * 《准有好事 注销页面H5》
     */
    public function index()
    {
        return $this->fetch();
    }

    /**
     * 《准有好事 注销协议》
     */
    public function agreement()
    {
        return $this->fetch();
    }

    /**
     * 《准有好事 充值协议》
     */
    public function recharge_agreement()
    {
        $host = Env::get('host.photo');
        // 充值协议图片待修改
        $photos = [
            $host . '/test/agreement/zyhs/1@2x.jpg',
            $host . '/test/agreement/zyhs/2@2x.jpg',
            $host . '/test/agreement/zyhs/3@2x.jpg',
            $host . '/test/agreement/zyhs/4@2x.jpg',
        ];
        return $this->fetch('', ['photos' => $photos]);
    }
}
